package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: ShoppingcartService
 * Package: IntelliJ IDEA
 *
 * @author 张文豪
 * @description
 * @date 2023/8/18 14:51
 */
@Service
public interface ShoppingcartService {
    void add(ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> listShopCart();

    void clean();

    void deleteSingle(ShoppingCartDTO shoppingCartDTO);
}
